<template>
<div class="my-container">
<el-container>
    <el-header class="my-header">
        <MoneyHeader />
    </el-header>
    <el-main class="my-main">
        <RouterView />
    </el-main>
</el-container>
</div>
</template>

<script lang="ts" setup>
    import MoneyHeader from './MoneyHeader.vue';
</script>

<style lang="scss" scoped>
    .my-container {
        background-color: #ddd;
        height: 100vh;
        margin: 0;
    }

    .my-header {
        margin: 0;
        width: 100%;
        background-color: #fff;
        position: fixed;
        top: 0;
        height: 76px;
        box-shadow: 0 2px 10px 0 rgb(11 7 25 / 6%);
    }

    .my-main {
        margin: 76px auto 0 auto;
        width: 1008px;
        background-color: #fff;
        height: calc(100vh - 76px);
    }
</style>